package dao.banco;

import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Connection;  

public class ConFactory {
	
	public static Connection getConnection() throws SQLException {  
        try {  
            Class.forName("com.mysql.jdbc.Driver");  
            return DriverManager.getConnection("jdbc:mysql://localhost:3307/JogoMemo","root","usbw");  
        } catch (ClassNotFoundException e) {  
            throw new SQLException(e.getMessage());  
        }  
    }  
	

}
